package ArrayList;

public class Text1 {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.display();
        myArrayList.add(2);
        myArrayList.display();
        myArrayList.add(3);
        myArrayList.display();

    }
}
